﻿namespace GoodAdmin.System;

/// <summary>
/// 系统角色菜单关联表
/// </summary>
[SugarTable(tableName: "Sys_Role_Menu")]
public class SysRoleMenu
{
    [SugarColumn(ColumnDescription = "角色Id", IsNullable = false)]
    public long RoleId { get; set; }

    [SugarColumn(ColumnDescription = "菜单Id", IsNullable = false)]
    public long MenuId { get; set; }
    /// <summary>
    /// 额外信息
    /// </summary>
    [SugarColumn(ColumnDescription = "额外信息", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
    public string ExtraJson { get; set; }
}
